/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package rtsgame.core.view.graphics;

import java.awt.Canvas;
import java.awt.Graphics2D;
import rtsgame.core.view.Sprite;

/**
 *
 * @author tom
 */
public abstract class GraphicElement {

  public abstract void Draw( Graphics2D graphic2D );
  public abstract void DrawSelect( Graphics2D graphic2D );
  public abstract boolean isCollision( GraphicElement element );

  public abstract void setX( int x );
  public abstract void setY(int y);

  public abstract int getX();
  public abstract int getY();

  public abstract boolean hit( int x, int y );

  
}
